package com.dingli.framework.entity;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Bank {

  private long bankId;
  private String bankName;
  private String shortName;
  private Date establishDate;

  public Bank() {
  }

  public long getBankId() {
    return bankId;
  }

  public void setBankId(long bankId) {
    this.bankId = bankId;
  }

  public String getBankName() {
    return bankName;
  }

  public void setBankName(String bankName) {
    this.bankName = bankName;
  }

  public String getShortName() {
    return shortName;
  }

  public void setShortName(String shortName) {
    this.shortName = shortName;
  }

  public Date getEstablishDate() {
    return establishDate;
  }

  public void setEstablishDate(Date establishDate) {
    this.establishDate = establishDate;
  }

  @Override
  public String toString() {
    return "Bank{" +
            "bankId=" + bankId +
            ", bankName='" + bankName + '\'' +
            ", shortName='" + shortName + '\'' +
            ", establishDate=" + establishDate +
            '}';
  }
}
